<?php

namespace App\Models;

class DictData extends Model
{
    protected $table = 'sys_dict_data';

    protected $fillable = ['title', 'value', 'description', 'dict_id', 'sort', 'status'];
    /**
     * 类型转化
     *
     * @var array
     */
    protected $casts = [
    ];

    public function dict()
    {
        return $this->belongsTo('App\Models\Dict');
    }
}
